-----------------------------------
--  Area: East Ronfaure (101)
--   Mob: Bigmouth_Billy
-----------------------------------

require("scripts/globals/settings");

-----------------------------------
-- onMobDeath
-----------------------------------

function onMobDeath(mob,killer)	

	-- Set Bigmouth_Billy's Window Open Time
	wait = math.random((3600),(7200));
	SetServerVariable("[POP]Bigmouth_Billy", os.time(t) + (wait /NM_TIMER_MOD)); -- 1-2 hours
	DeterMob(mob:getID(), true);

	-- Set PH back to normal, then set to respawn spawn
	PH = GetServerVariable("[PH]Bigmouth_Billy");
	SetServerVariable("[PH]Bigmouth_Billy", 0);
	DeterMob(PH, false);
	GetMobByID(PH):setRespawnTime(GetMobRespawnTime(PH));

end;

